<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html>
<div class="navbar-inverse navbar-fixed-top">
    <div class="container">
        <a class="navbar-brand " href="#">Petro-Oil</a>
        <form:form method="POST" commandName="commandBean" action="j_spring_security_check.htm" class="navbar-form navbar-right">
            <div class="form-group">
                <div class="btn-group">
                    <a class="btn btn-primary" href="register.htm">Rejestracja</a>
                </div>
            </div>
            <span> </span>
            <div class="form-group">
                <form:input  path="login" type="text" placeholder="Email" class="form-control" name="j_username" id="j_username" />
            </div>
            <span> </span>
            <div class="form-group">
                <form:input  path="password" type="password" placeholder="Password" class="form-control" name="j_password" id="j_password" />
            </div>
            <span> </span>
            <button type="submit" class="btn btn-success">Zaloguj</button>

        </form:form>
    </div> 
</div>